wmtpp Release 

What It Does
------------

  - Given an C or C++ source or header file, wmtpp modify _TRACE lines for TMT tool.
  - Create 2 files :
  		remtrace.csv : stored the connection between id, entity, string, file and the line.
  		remtrace.ini : which keeps the id and the free size.
  - Check in "mada" or "seni" database if the string already exist if true, then get the ID from database


Running wmtpp
-------------

  - To run wmtpp, use the following line command under DOS :
		wmtpp [-i <input file>] [-o <output file>] or
		wmtpp <file> if you want this is the same file name for input and output.

  - mtpp is a shell script which runs under cygwin. It permits to treat all C/C++ files
         keeping the same name by default.



Questions
---------
  For questions, please contact Tools Team.

################################ Last Version #################################

Version v1116b ( 12.17.2003 )
--------------
	- Linux version static link, wmtpp can now run on any application server wms-lnx05x
	- To do :	* check warning C4005: 'IGNORE' : macro redefinition
					C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winbase.h(757) 
				* check warning C4005: 'INFINITE' : macro redefinition
					C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winbase.h(758) 
				* one database for GPRS and another for UMTS
				* configuration files to update for compile wmtpp and use under lnx05d to lnx05g
				* Option generate full Remtrace.csv only at first
				* see the options --thread-stack=256k when starting mysqld 
				* use DNS Alias "wms-madaseni" in ODBC driver instead of wms-lnx05g
				* study the direct call to Mysql API
				* Test with a new dedicated Mysql server

		

###############################################################################

on v1116a ( 12.16.2003 )
--------------
    - Check  if string to replace already exist in the trace Database ( mada or seni)
	- Corrected bugs under Cygwin with CurrentDir with '/' and InputPathname with '/'
	

Version v1115a ( 10.22.2003 )
--------------
	- Corrected command line /? under Windows. and increase buffers for 
          pathname and filename management

Version v1115 ( 09.15.2003 )
-------------
	- Corrected command line /? under Windows.

ersion v1114a ( 08.27.2003 )
-------------
	- Corrected optimization bug ( increment even if identical strings)

Version v1113 ( 08.26.2003 )
-------------
	- Corrected bug with RM_STRING and optimization


Version v1112 ( 08.26.2003 )
-------------
	- Corrected bug with -N option ( output to screen)


Version v1111 ( 07.24.2003 )
-------------
	- Change ';' caractere in a string by ':' for TMT


Version v1110 ( 07.23.2003 )
-------------
	- Fixes some bugs from v1109 such as  source file path management and 
          redundancies checking in remtrace file.


Version v1109 ( 07.17.2003 )
-------------
        - Blacklist feature was introduced by Wmtpp v1105. The purpose is to
          avoid files not supported by wmtpp.
 
        - v1109 check all string from Remtrace.csv file to re-use the same ID.
        This action permit to duplicate the same string with different IDs ( 
        (compile the same file  more than one time)
        
        - to disable this function use -z command line
 
Version v1107 ( 05.28.2003 )
-------------
        - Blacklist feature was introduced by Wmtpp v1105. The purpose is to
          avoid files not supported by wmtpp.
 
        - v1107 improves blacklist management with relative path location
          wmtpp looks for a blacklist file in the repository according to the
          version release

###############################################################################
WARNING : v1105 and v1106 are unofficial releases
###############################################################################

Version v1104
-------------
	- Some traces contains the character \ followed by a feed line.
	  This version of wmtpp suppress the character \, the feed line and all
	  spaces in the string which is written in remtrace.csv file.

Version v1103
-------------
	- A bug was raised by DPO on the previous version. In a few cases,
	  after a #define, there si a segmentation fault. The bug is corrected.
	- There were some problems with the full path of a file in remtrace.csv
	  when the file is in "local" directory (raised by CFL).
	- When a #define contained a string "_ERROR" or "_TRACE", parser lost
	  its minds because it waited a trace but there was no trace.
	  The bug is corrected (raised by LPT).
	- The message about %s in traces was modified (MDZ tracker).
	- Edge effects are corrected too.

Version v1102
-------------
	- A bug was raised by CGI (Pantech) on the previous version. In a few cases,
	  a buffer was opened but not closed. The bug is corrected.
	- Edge effects are corrected too.

Version v1101
-------------
	- When noRemtrace mode was activated, RM_STRING and WM_RM_STRING give a
	  segmentation fault at the time of their treatment.
	- remtrace.csv and remtrace.ini are no more created when noRemtrace mode is
	  activated.

Version v1100
-------------
	- if the string to reduce is inferior to four bytes, Wmtpp dosen't treat it
	  any more because the index is coded with four bytes. So if the string is
	  reduced, some bytes are lost instead of won.
	- Code for the treatment of RM_STRING and WM_RM_STRING has been optimized
	  and simplified.

Version v1038
-------------
	- option m/M takes the max between the remtrace.ini id and the id specified
	  after the option.
	- macro WM_RM_STRING is now treated.

Version v1037
-------------
	- /* NO_REMTRACE */ can be used at the end of a line behind a comma.
	- All identified bugs are now corrected.

Version v1036
-------------
	- Always a regression due to the correction in version v1034.

Version v1035
-------------
	- A regression due to the correction in version v1034.

Version v1034
-------------
	- Another bug with RM_STRING corrected. Double parenthesis have caused some
	  problem.

Version v1033
-------------
	- Bug with RM_STRING is corrected. The variable stopRemCpt wasn't correctly
	  initialized.

Version v1032
-------------
	- Ignoring "#define wm_dbgTrace" line.

Version v1031
-------------
	- Some stderr oupout are converted in stdout to permit to get it
	  by a redirection.
	- Ignoring "#define wm_dbgError" line.

Version v1030
-------------
	- wm_dbgTrace and wm_dbgError functions can now be used.
	- option -i can be used alone (same result than using no option).
	- A bug has been corrected in the remtrace.csv file generation :
	  the field Entity wasn't always right.
	- files pathes in remtrace.csv are cleaned (except when source file
	  begins by ..).

Version v1020
-------------
	- ERR_S wasn't printed when -n option is used => corrected.
	- Number of parameters have been added even for FATAL or STORE errors.

Version v1019
-------------
	- FATAL or STORE errors are correctly ignored now.

Version v1018
-------------
	- The treatement of macro _ERROR is restored !!!
	  But FATAL or STORE errors are ignored.

Version v1017
-------------
	- The function of Wmtpp has been voluntary corrupted because of the use of
	  gprs team (Cf PRU). Macro _ERROR are now NOT treated.

Version v1016
-------------
	- When input and output files are the same, there was an implicit cast of
	  int in char. This has been changed because of the loss of information.
	  Some characters were been token in place of EOF.

Version v1015
-------------
	- Wmtpp testes if " directly follows , (if there's no text between) else
	  the line isn't treated.

Version v1014
-------------
	- The case where there is ERR_S in a string following _ERROR is now
	  treated.
	- If the string is after line feed, it is now treated rightly.

Version v1013
-------------
	- When -N option was used, macro RM_STRING were always treated.
	  This bug is now corrected.

Version v1012
-------------
	- remtrace.ini file has now the priority on the -F option.

Version v1011
-------------
	- Bug in csv file because of macro RM_STRING is corrected.
	  (Only the fisrt letter of the string was put in the csv file.)

Version v1010
-------------
	- When RM_STRING isn't followed by a string the line isn't treated.

Version v1009
-------------
	- _ERROR macro is now treated.
	- If there's a pointer in a string in a macro, this macro is ignored.
	- Correction of the segmentation fault in function Usage.

Version v1008
-------------
	- display of all the entities in csv file is corrected.
	- RM_STRING macro are now stored in csv file.

Version v1007
-------------
	- Bug corrected : an end parenthesis missed after a normal line with a string.

Version v1006
-------------
	- Bugs on RM_STRING macro are corrected.

Version v1005
-------------
	- log file is now enabled.
	- RM_STRING macro : a different use added.

Version v1004
-------------
	- bug : the number of parameters in trace strings weren't ok => corrected.
	- TRACES.OUT : the code which creates this file has been commented.

Version v1003
-------------
	- bug : remtrace.csv, remtrace.ini and output file are now created in
	        the same directory than input file.
	- Now, it's possible to not treat the string in _TRACE lines. The only
	  thing to do is to place the following comments : /* NO_REMTRACE */ after
	  the _TRACE line. ===> Please respect this syntax EXACTLY !!!!!
	- option -n or -N to desactive remtrace mode (idem /* NO_REMTRACE */).
	- add the version of wmtpp in the help.

Version v1002
-------------
	- bug : when there were severals arguments in the string, wmtpp stopped
		    after the first comma -> corrected.
	- add the wmtpp version when it's running.
	- option -h or -H for use help.
	- RM_STRING macro is now treated.

Version v1001
-------------
	- option -f or -F added permits to fix the first id.
